<?php
$link = mysqli_connect("localhost:3308","root","","bbs") or die("数据库连接失败");
mysqli_set_charset($link,'utf8');//解决中文传输问题
?>